package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.SchoolOrderAddressUserDAO;
import top.zywork.dos.SchoolOrderAddressUserDO;
import top.zywork.dto.SchoolOrderAddressUserDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.SchoolOrderAddressUserService;

import javax.annotation.PostConstruct;

/**
 * SchoolOrderAddressUserServiceImpl服务接口实现类<br/>
 *
 * 创建于2020-10-30<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Service(value = "schoolOrderAddressUserService")
public class SchoolOrderAddressUserServiceImpl extends AbstractBaseService implements SchoolOrderAddressUserService {

    private SchoolOrderAddressUserDAO schoolOrderAddressUserDAO;

    @Autowired
    public void setSchoolOrderAddressUserDAO(SchoolOrderAddressUserDAO schoolOrderAddressUserDAO) {
        super.setBaseDAO(schoolOrderAddressUserDAO);
        this.schoolOrderAddressUserDAO = schoolOrderAddressUserDAO;
    }

    @PostConstruct
    public void init() {
        super.init(SchoolOrderAddressUserDO.class, SchoolOrderAddressUserDTO.class);
    }
}